import Layout from '@/layout'

const statistical = {
  path: '/statistical',
  component: Layout,
  redirect: '/statistical/channel-table',
  name: 'Statistical ',
  meta: { title: '统计报表', icon: 'statistical' },
  alwaysShow: true,
  children: [
    {
      path: 'channel-table',
      name: 'ChannelTable',
      component: () => import('@/views/statistical/channel-table/ChannelTable'),
      meta: { title: '渠道报表' }
    },
    {
      path: 'channel-table-level',
      name: 'channelTableLevel',
      component: () => import('@/views/statistical/channelLevel/level'),
      meta: { title: '渠道报表-星级' }
    },
    {
      path: 'clients-statistics',
      name: 'ClientsStatistics',
      component: () => import('@/views/statistical/clients-statistics/ClientsStatistics'),
      meta: { title: '客户统计' }
    },
    {
      path: 'rank',
      name: 'rank',
      component: () => import('@/views/statistical/rank/Rank'),
      meta: { title: '业绩排行' }
    }
  ]
}

export { statistical }
